<?php 
/**********************************读取数据*************************************/
//$newsList是一个BTreeTable的对象
$newsImage = $newsList->getItem('image')->getValue();
$newsName = $newsList->getItem('name')->getValue();
$newsDescription = $newsList->getItem('description')->getValue();
/**********************************结束读取数据*********************************/

//提供返回按钮所需的参数
//$backCooker = 'BWCompanyInfo@ShowTrendsList'
$backData = array('cooker' => $backCooker);
echo $control->renderView("header",array('backData' => $backData, 'title' => '涵信动态'));
?>
<!--******************** Portfolio Section ********************-->
<section id="portfolio" class="single-page scrollblock">
  <div class="container">
    <div class="row">
      <div class="span4">
        <div class="mask2"> <a href="#" rel="prettyPhoto"><img src="<?php echo Yii::app()->request->baseUrl . $newsImage;?>" alt=""></a> </div>
        <div class="inside">
          <hgroup>
            <h2><?php echo $newsName;?></h2>
          </hgroup>
          <div class="entry-content">
            <p><?php echo $newsDescription;?></p>
          </div>
        </div>
        <!-- /.inside -->
      </div>
    </div>
    <!-- /.row -->
  </div>
  <!-- /.container -->
</section>
<?php 
echo $control->renderView("footer");
?>